﻿using System;
using AbstractFactoryPattern.Clients;

namespace AbstractFactoryPattern
{
    class Program
    {
        static void Main(string[] args)
        {
            ////创建纽约披萨店
            //var newYorkPizzaStore = new NewYorkPizzaStore();
            ////制作纽约芝士披萨
            //newYorkPizzaStore.OrderPizza("cheese");
            //Console.WriteLine("-----------------------------------------------------------");
            ////芝加哥披萨店
            //var chicagoYorkPizzaStore = new ChicagoPizzaStore();
            ////芝加哥芝士披萨
            //chicagoYorkPizzaStore.OrderPizza("cheese");
            //Console.WriteLine("-----------------------------------------------------------");
            //柳州披萨店
            var lzPizzaStore = new LZPizzaStore();
            //柳州披萨
            lzPizzaStore.OrderPizza("柳州披萨");
            Console.ReadKey();

        }
    }
}
